<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>易商通运营平台</title>
    <script type="text/javascript" src="__PUBLIC__/libs/js/jquery.js"></script>
    <script type="text/javascript" src="__PUBLIC__/libs/js/framework.js"></script>
    <link href="__PUBLIC__/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
    <link rel="stylesheet" type="text/css" id="skin" prePath="__PUBLIC__/"/>
    <link rel="stylesheet" type="text/css" id="customSkin"/>
    <script type="text/javascript" src="__PUBLIC__/libs/js/form/datePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="__PUBLIC__/libs/js/nav/pageNumber.js"></script>
    <style>body {
        background-color: #dbeefd
    }</style>
</head>
<body>
<div class="box1">
    <fieldset style="border-color:#999999;">
        <legend>部门修改</legend>
        <form action="__URL__/updatebumen" method="post">
            <table class="tableStyle">
                <tr>
                    <td>部门名称：</td>
                    <td>
                        <input type="hidden" name="id" value="{$department['id']}"/>
                        <input type="text" name="name" value="{$department['name']}"/></td>
                </tr>

                <tr>
                    <td>上级部门</td>
                    <td>
                        <select name="parentid"  >
                            <option value="0" <?php
                                   if(0==$department['parentid']) echo 'selected';     ?> >顶级部门</option>
                            <volist name="departlist" id="vo">
                                <option value="{$vo['id']}"
                                        <?php
                                   if($vo['id']==$department['parentid']) echo 'selected';     ?>
                                        >{$vo["name"]}</option>
                            </volist>
                        </select>

                    </td>
                </tr>

                <tr>
                    <td>部门主管：</td>
                    <td><input type="text" name="leader" value="{$department['leader']}"/>
                        
                    </td>
                </tr>
                <tr>
                    <td colspan="2"><input type="submit" name="" value="保存"/></td>
                </tr>
            </table>
        </form>
    </fieldset>
</div>
</body>
</html>